﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MP/fontend_noslide.Master" AutoEventWireup="true" CodeBehind="Contact.aspx.cs" Inherits="TimViec.Contact" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
   <h1 class="m_bottom20">
        Liên hệ</h1>
   <div class="bg_white p_10">
       <span>Những mục có dấu sao<span class="text_red">*</span> là bắt buộc.</span>
       <table cellpadding="0" cellspacing="10">
           <tr>
               <td><strong>Họ tên<span class="text_red">*</span></strong></td>
               <td><asp:TextBox runat="server" ID="txtHoten" Width="400px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" Text="*"
                                    ErrorMessage="Chưa nhập họ tên" ControlToValidate="txtHoten" ForeColor="Red"></asp:RequiredFieldValidator>
               </td>
           </tr>
           <tr>
               <td><strong>Email<span class="text_red">*</span></strong></td>
               <td><asp:TextBox runat="server" ID="txtEmail" Width="400px"></asp:TextBox>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ErrorMessage="Sai định dạng Email"
                            ControlToValidate="txtEmail" ForeColor="Red" Text="*" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" Text="*"
                                    ErrorMessage="Chưa nhập Email" ControlToValidate="txtEmail" ForeColor="Red"></asp:RequiredFieldValidator>
               </td>
           </tr>
           <tr>
               <td><strong>Tiêu đề<span class="text_red">*</span></strong></td>
               <td><asp:TextBox runat="server" ID="txtTieuDe" Width="400px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" Text="*"
                                    ErrorMessage="Chưa nhập tiêu đề" ControlToValidate="txtTieuDe" ForeColor="Red"></asp:RequiredFieldValidator>
               </td>
           </tr>
           <tr>
               <td valign="top"><strong>Nội dung<span class="text_red">*</span></strong></td>
               <td><asp:TextBox runat="server" ID="txtNoiDung" Width="600px" Height="200px" TextMode="MultiLine"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" Text="*"
                                    ErrorMessage="Chưa nhập nội dung" ControlToValidate="txtNoiDung" ForeColor="Red"></asp:RequiredFieldValidator>
               </td>
           </tr>
           <tr>
               <td></td>
               <td><asp:Button runat="server" ID="btSend" Text="Gửi" CssClass="button2" 
                       onclick="btSend_Click"/></td>
           </tr>
       </table>
   </div>
   <asp:ValidationSummary ID="ValidationSummary1" runat="server" HeaderText="Các trường có dấu (*) bắt buộc phải nhập"
                ShowMessageBox="True" ShowSummary="False" />
</asp:Content>
